import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import {h} from 'vue';
import {Switch} from 'ant-design-vue';

export const columns: BasicColumn[] = [
        {
            title: '订单（线下支付的订单Id）',
            dataIndex: 'orderId',
            width: 200,
        },
        {
            title: '支付方式Id',
            dataIndex: 'paywayId',
            width: 200,
        },
        {
            title: '销售人员备注',
            dataIndex: 'remark',
            width: 200,
        },
        {
            title: '支付凭证图片',
            dataIndex: 'payVoucherImg',
            width: 200,
        },
        {
            title: '销售Id',
            dataIndex: 'employeeId',
            width: 200,
        },
        {
            title: '1',
            dataIndex: 'isCheck',
            width: 200,
        },
        {
            title: '主键',
            dataIndex: 'airportId',
            width: 200,
        },
        {
            title: '是否删除',
            dataIndex: 'deleted',
            width: 200,
        },
        {
            title: '更新人',
            dataIndex: 'updateUser',
            width: 200,
        },
        {
            title: '更新时间',
            dataIndex: 'updateTime',
            width: 200,
        },
        {
            title: '创建人',
            dataIndex: 'createUser',
            width: 200,
        },
        {
            title: '创建时间',
            dataIndex: 'createTime',
            width: 200,
        },
];

export const searchFormSchema: FormSchema[] = [
];

export const formSchema: FormSchema[] = [
        {
            label: '订单（线下支付的订单Id）',
            field: 'orderId',
            component: 'Input',
            required: true,
        },
        {
            label: '支付方式Id',
            field: 'paywayId',
            component: 'Input',
            required: true,
        },
        {
            label: '销售人员备注',
            field: 'remark',
            component: 'Input',
            required: true,
        },
        {
            label: '支付凭证图片',
            field: 'payVoucherImg',
            component: 'Input',
            required: true,
        },
        {
            label: '销售Id',
            field: 'employeeId',
            component: 'Input',
            required: true,
        },
        {
            label: '1',
            field: 'isCheck',
            component: 'Input',
            required: true,
        },
        {
            label: '主键',
            field: 'airportId',
            component: 'Input',
            required: true,
        },
        {
            label: '是否删除',
            field: 'deleted',
            component: 'Input',
            required: true,
        },
        {
            label: '更新人',
            field: 'updateUser',
            component: 'Input',
            required: true,
        },
        {
            label: '更新时间',
            field: 'updateTime',
            component: 'Input',
            required: true,
        },
        {
            label: '创建人',
            field: 'createUser',
            component: 'Input',
            required: true,
        },
        {
            label: '创建时间',
            field: 'createTime',
            component: 'Input',
            required: true,
        },
];
